package com.ruoyi.buss.dxts.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 用户登录相关短信对象 SM_SEND_RECORD
 * 
 * @author zjh
 * @date 2021-08-02
 */
public class SmSendRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** MESSAGE_ID */
    private String messageId;

    /** 0 登录 1 修改密码 2 更换设备 */
    @Excel(name = "0 登录 1 修改密码 2 更换设备")
    private String smType;

    /** 支持多个号码,号码之间以|分隔 */
    @Excel(name = "支持多个号码,号码之间以|分隔")
    private String phone;

    /** 验证码 */
    @Excel(name = "验证码")
    private String code;

    /** 短信内容 */
    @Excel(name = "短信内容")
    private String content;

    /** 员工号 */
    @Excel(name = "员工号")
    private String userId;

    /** 0：未发送\n            1：发送成功\n            2：发送失败 */
    @Excel(name = "0：未发送\n            1：发送成功\n            2：发送失败")
    private String sendFlag;

    public void setMessageId(String messageId) 
    {
        this.messageId = messageId;
    }

    public String getMessageId() 
    {
        return messageId;
    }
    public void setSmType(String smType) 
    {
        this.smType = smType;
    }

    public String getSmType() 
    {
        return smType;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setSendFlag(String sendFlag) 
    {
        this.sendFlag = sendFlag;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getSendFlag()
    {
        return sendFlag;
    }

    @Override
    public String toString() {
        return "SmSendRecord{" +
                "messageId='" + messageId + '\'' +
                ", smType='" + smType + '\'' +
                ", phone='" + phone + '\'' +
                ", code='" + code + '\'' +
                ", content='" + content + '\'' +
                ", userId='" + userId + '\'' +
                ", sendFlag='" + sendFlag + '\'' +
                '}';
    }
}
